<template>
  <section>
    <h3>Lib页面</h3>
    <p>{{ libId }}</p>
  </section>
</template>

<script>
export default {
  name: "VLib",
  data() {
    return {
      libId: "",
    };
  },
  methods: {
    getId() {
      this.libId = this.$route.params.id;
    },
  },
  mounted() {
    this.getId();
  },
};
</script>

<style lang="less" scoped>
section {
  flex-grow: 1;
  // height: 900px;
}
</style>